﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Welcome.aspx.cs" Inherits="PropertyAppraisal.Welcome" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>

    <link  type="text/css"  href="jquery-easyui-1.3.5/themes/default/easyui.css" rel="stylesheet" />
    <link  type="text/css"  href="jquery-easyui-1.3.5/themes/icon.css" rel="stylesheet" />
    <link  type="text/css"  href="jquery-easyui-1.3.5/demo/demo.css" rel="stylesheet" />
    <script src="jquery-easyui-1.3.5/jquery-1.7.2-min.js"></script>
    <script type="text/javascript" src="jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
    <script src="jquery-easyui-1.3.5/easyloader.js"></script>
</head>
<body>
    <div style="height:100%; width:100%; background:url(/images/timgYPCOW6NI.jpg) no-repeat" id="back" >
     
    </div>
             <script>
                 //自动切换首页背景图
                 var bgs = [
                     "/images/timg69I547SK.jpg",
                     "/images/timgYPCOW6NI.jpg",
                 ];
                 var curbg = -1;
                 window.onload = function () {
                     setInterval(function () {
                         document.getElementById("back").style.background = "url('" + bgs[curbg >= bgs.length - 1 ? curbg = 0 : ++curbg] + "')  no-repeat";
                         document.getElementById("back").style.backgroundSize = "100% 100%";
                     }, 5000);
                  
                 };
             </script>
</body>
</html>
